<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<% request.setAttribute("title", "Create prescription");%>

<%@include file="/WEB-INF/html/header.jsp" %>

<h1>Create a prescription:</h1>

<form method="POST" action="<% out.print(request.getContextPath()); %>/Recept">
<table>
<%
out.println("<b>" + request.getAttribute("error") + "</b>");
%>
<br>

<tr>
	<td>Please enter prescription name :</td>
	<td><input type="text" name="rNavn"></td>
</tr>
<tr>
	<td></td>
	<td><input type="submit" name="newRecept" value="Create"></td>
</tr>
</table>
</form>

<%@include file="/WEB-INF/html/footer.jsp" %>